<%@ page language="java" contentType="text/html; charset=utf-8"%>  
<%@ taglib prefix="html" uri="/WEB-INF/struts-html.tld" %>  
<%@ taglib prefix="bean" uri="/WEB-INF/struts-bean.tld" %>   
<%@ taglib prefix="logic" uri="/WEB-INF/struts-logic.tld"%>   
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
  </head>
  
  <body>
  	<html:errors/>
	<form action="${pageContext.request.contextPath }/user.do?action=login" method="post">
	    <bean:message key="login.usr"/><input type="text" name="userName"><br>
	    <bean:message key="login.pwd"/><input type="password" name="password"><br>
	    <input type="submit" value="<bean:message key='login.btn.login'/>">
	    <input type="button" value="<bean:message key='login.btn.regist'/>">
    </form>
  </body>
</html>
